<VirtualHost *:{port:8081}>
	ServerAdmin timothee.clain@univ-reunion.fr
#	ServerName remontees-periodiques.univ-reunion.fr

##########  Authentification CAS #########

CASloginURL https://cas.univ-reunion.fr/cas/login
CASValidateURL https://cas.univ-reunion.fr/cas/serviceValidate
 # remplacer par le fichier approprié dans /etc/ssl
CASCertificatePath /usr/local/frontal-extractions/conf/certs/cas-crt.pem



	DocumentRoot {targetdir:/usr/local/frontal-extractions/instance}
	<Directory />
		Options FollowSymLinks
		AllowOverride None
	</Directory>
	<Directory {targetdir:}>
		Options Indexes FollowSymLinks MultiViews
		AllowOverride None
		Order allow,deny
		allow from all
	</Directory>

	<Location />
		AuthType CAS
		Require valid-user
	</Location>


	# fichier contenant les règles apache concernant les Location 
	Include /usr/local/frontal-extractions/conf/location-rules.conf
	# fichier contenant les mapping du proxy 
	Include /usr/local/frontal-extractions/conf/proxy-rules.conf 


#Gestion des logs
	ErrorLog ${APACHE_LOG_DIR}/error-frontal-extractions8081.log

	# Possible values include: debug, info, notice, warn, error, crit,
	# alert, emerg.
	LogLevel warn

	CustomLog ${APACHE_LOG_DIR}/access-frontal-extractions{port:}.log combined
</VirtualHost>

